package xyz.awesome.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;
@Controller
public class ViewController {
    @RequestMapping("/getName")
    public String getName(Map<String,Object> result){
        result.put("name", "yushengjun");
        return "index";
    }
}
